package cn.jiyun.fegin;

import cn.jiyun.pojo.FenLei;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient("fenlei-service")
public interface FenLeiFegin {

    @RequestMapping("/fenlei/findAll")
    public List<FenLei> findAll();

}
